/**
 * 
 */
package com.orange.modules.entity.manage;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author gaogs
 *
 * 2016-12-5
 */
@Table(name = "t_auth_city")
@Entity
public class AuthCity {
	
	private String pid ;//[p_id] bigint NOT NULL ,
	private String type ;//[s_type] varchar(1) NOT NULL ,
	private String name ;//[s_name] varchar(255) NOT NULL ,
	private String parentId ;//[f_parent_id] bigint NULL DEFAULT NULL ,
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	@Column(name = "s_name",length=255)
	public String getName() {
		return name;
	}
	@Column(name = "f_parent_id",length=50)
	public String getParentId() {
		return parentId;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	
}
